﻿<%@ Control Language="c#" Inherits="Web.Control.WWW.Answers.Answerers" %>
<div class="common">
	<div id="new_body">
		<div id="body_900">
			<div id="body_left"></div>
			<div id="body_main">
				<div class="submenuN">
					<div class="submenuN_position">
						<div class="submenuN_title">
							<div class="submenuN_Btitle">
								<h1><%=GetText("AS135")%></h1>
							</div>
							<div class="submenuN_button"><a href="/answers/ask.htm" class="Naddbtn btnspec"><span>&nbsp;&nbsp;&nbsp;<%=GetText("AS002")%>&nbsp;&nbsp;&nbsp;</span></a></div>
						</div>
					</div>
				</div>
				<div class="Center9001n">
					<div class="center9001right">
						<div class="center9001content">
						<div class="answers_area">
							<div id="askQuestype1">
								<div><%=GetText("C0016")%> <select id="Learning1" class="common180" name="Learning" onchange="searl()"><option value="all" selected><%=GetText("C0028")%></option><%=GetLanguageSelect(Learn)%></select>&nbsp;&nbsp;&nbsp;&nbsp;<%=GetText("AS091")%> <select id="Using1" class="common180" name="Learning" onchange="searl()"><option value="all" selected><%=GetText("C0028")%></option><%=GetLanguageSelect(BaseL)%></select></div>
								<div class="sort_language" style="text-align:right">
								<%=GetText("C2017")%>: <span id="sort1"><%=orderType == 1 ? "<strong>"+GetText("AS012").ToString()+"</strong>" : "<a href=\"" + LoginHost + "/answers/members/learn-" + Learn + "-" + BaseL + "-1.htm\">" + GetText("AS012") + "</a>"%></span> | <span id="sort2"><%=orderType == 2 ? "<strong>"+GetText("AS013").ToString()+"</strong>" : "<a href=\"" + LoginHost + "/answers/members/learn-" + Learn + "-" + BaseL + "-2.htm\">" + GetText("AS013") + "</a>"%></span> | <span id="sort3"><%=orderType == 3 ? "<strong>"+GetText("AS011").ToString()+"</strong>" : "<a href=\"" + LoginHost + "/answers/members/learn-" + Learn + "-" + BaseL + "-3.htm\">" + GetText("AS011") + "</a>"%></span></div>
							</div>
							<div class="margin10">
								<%if (userList.Count > 0)
								{ %>
								<script>setsort("<%=orderType %>");</script>
								<%} %>
								<asp:Repeater ID="repUser" runat="server">
									<ItemTemplate>
									<table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:10px;padding-bottom:10px;border-bottom:1px #eee solid;overflow:hidden">
										<tr>
											<td width="10%"><div class="pic50"><a class="photo_50" href="<%#LoginHost%>/<%#Eval("MemberNo") %>.htm" title="<%#Escape(Eval("Nickname").ToString()) %>"><%#Eval("Avatar").ToString() == "" ? "<img src=\"/Images/No_pic.gif\" />" : Eval("Avatar", "<img src=\"{0}\" />").ToString()%></a></div></td>
											<td width="60%"><span class="blue14Bu"><a href="<%#LoginHost%>/<%#Eval("MemberNo") %>.htm"><%#HttpUtility.HtmlAttributeEncode(Eval("Nickname").ToString()) %></a></span> <span class="grey12"><%#BLF.StaticData.GetCountryText(DataBinder.Eval(Container.DataItem,"Nationality").ToString()) %></span><br /><%=GetText("C0005")%>: <strong><%#Eval("MotherTongue")%></strong> <img src='/Images/Level5.gif' border='0' align="absmiddle" /><br /><%=GetText("C0007")%>: <strong><%#Eval("TargetLanguage")%></strong> <img src='/Images/Level<%#Eval("TargetLanguageLevel")%>.gif' border='0' align="absmiddle" /></td>
											<td width="10%" align="center"><%#orderType == 1 ?"<strong><span class='pink12'>"+Eval("AnswerCount")+"</span></strong>":Eval("AnswerCount")%></td>
											<td width="10%" align="center"><%#orderType == 2 ?"<strong><span class='pink12'>"+Eval("AnswersBestC")+"</span></strong>":Eval("AnswersBestC")%> (<%#(Int32)Eval("AnswerCount") == 0 ? 0 : (Int32)Eval("AnswersBestC") * 100 / (Int32)Eval("AnswerCount")%>%)</td>
											<td width="10%" align="center"><%#orderType == 3 ?"<strong><span class='pink12'>"+Eval("QuestionCount")+"</span></strong>":Eval("QuestionCount")%></td>
										</tr>
									</table>
									</ItemTemplate>
								</asp:Repeater>
							</div>
						</div>
						</div>
					</div>
					<div class="Center9001Left">
						<div class="right_layerA">
							<div class="layer_contentA">
								<h4><%=GetText("AS117")%></h4>
								<div class="layer_contentA5">
								<asp:Repeater ID="repPques" runat="server">
									<ItemTemplate>
									<div class="right_question_list">
										<div class="right_question_listPIC"><div class="picsp"><a class="photo_sp" href="/<%#Eval("MemberNo") %>.htm"><%#Eval("Avatar").ToString() == "" ? "<img src=\"/Images/No_pic.gif\" />" : Eval("Avatar", "<img src=\"{0}\" />").ToString()%></a></div></div>
										<div class="right_question_listCON"><a href="<%#LoginHost%>/answers/question/<%#Eval("QuestionID") %>.htm"><%#HttpUtility.HtmlAttributeEncode(Eval("Question").ToString())%></a> <span class="grey12" dir="ltr">(<%#Eval("AnswerCount")%>)</span></div>
										<div class="clear"></div>
									</div>
									</ItemTemplate>
								</asp:Repeater>
								<p align="right"><a href="<%=LoginHost%>/answers/1-1.htm"><%=GetText("AS089")%></a></p>
								</div>
							</div>
						</div>
						<div class="right_layerA">
							<div class="layer_contentA">
								<h4><%=GetText("AS118")%></h4>
								<div class="layer_contentA5">
								<asp:Repeater ID="repLques" runat="server">
									<ItemTemplate>
									<div class="right_question_list">
										<div class="right_question_listPIC"><div class="picsp"><a class="photo_sp" href="<%#LoginHost%>/<%#Eval("MemberNo") %>.htm"><%#Eval("Avatar").ToString() == "" ? "<img src=\"/Images/No_pic.gif\" />" : Eval("Avatar", "<img src=\"{0}\" />").ToString()%></a></div></div>
										<div class="right_question_listCON"><a href="<%#LoginHost%>/answers/question/<%#Eval("QuestionID") %>.htm"><%#HttpUtility.HtmlAttributeEncode((Eval("Question").ToString()))%></a></div>
										<div class="clear"></div>
									</div>
									</ItemTemplate>
								</asp:Repeater>
								<p align="right"><a href="<%=LoginHost%>/answers/3-1.htm"><%=GetText("AS089")%></a></p>
								</div>
							</div>
						</div>
							<div class="ad_site">
							<script type="text/javascript"><!--
							google_ad_client = "pub-2873751441352197";
							google_ad_width = 160;
							google_ad_height = 600;
							google_ad_format = "160x600_as";
							google_ad_type = "text";
							google_ad_channel = "";
							google_color_border = "ffffff";
							google_color_bg = "ffffff";
							google_color_link = "336699";
							google_color_text = "333333";
							google_color_url = "333333";
							//-->
							</script>
							<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
							</div>
					</div>
					<div class="clear"></div>
				</div>
			</div>
			<div id="body_right"></div>
			<div class="clear"></div>
		</div>
		<div id="body_900F"></div>
	</div>
</div>
<script>
var dtp="<%=orderType%>";
var lhost="<%=LoginHost%>";
</script>
